package ModelLayer;


/**
 *      Copy
 *      Contains an instance of a copy of a DVD.
 */
public class Copy
{
    // private instance variables for Copy.
    private String serialNo;
    private int purchaseDate;
    private double purchasePrice;

    /**
     * Constructor for objects of class Copy
     */
    public Copy(String serialNo, int purchaseDate, double purchasePrice)
    {
        this.serialNo = serialNo;
        this.purchaseDate = purchaseDate;
        this.purchasePrice = purchasePrice;
    }
    public String getSerialNo()
    {
        return serialNo;
    }
    public int getPurchaseDate()
    {
        return purchaseDate;
    }
    public double getPurchasePrice()
    {
        return purchasePrice;
    }
}
